function T = array2table_with_name(array, label)

n_cols = size(array,2);
col_names = compose(strcat(label,'%d'),1:n_cols);

T = array2table(array,'VariableNames',col_names);
end